﻿


using System;
using System.Text;
using System.Collections;
using System.Xml;
using System.Data;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Resources;
using System.Reflection;
using System.Globalization;
using System.Threading;

using Telerik.WebControls;
using UFSoft.UBF.UI.WebControls;
using UFSoft.UBF.UI.WebControls.InterActionComponenet;
using UFSoft.UBF.Util.Log;
using UFSoft.UBF.Util.Context;

//using MagicAjax.UI.Controls;
using UFSoft.UBF.Report.UI.ReportView.Web;
using UFSoft.UBF.UI.WebControlAdapter;
using UFSoft.UBF.UI.FormProcess;
using UFSoft.UBF.UI.IView;
using UFSoft.UBF.UI.Engine;
using UFSoft.UBF.UI.Engine.Builder;
using UFSoft.UBF.UI.Engine.Authorization;
using UFSoft.UBF.UI.MD.Runtime;
using UFSoft.UBF.UI.ActionProcess;
using UFSoft.UBF.UI.ControlModel;
using UFSoft.UBF.UI.Controls;
using UFSoft.UBF.UI.WebControls.Association;
using UFSoft.UBF.UI.WebControls.ClientCallBack;
using System.Web.UI;
using UFSoft.UBF.UI.UIFormPersonalization;
using System.Collections.Specialized;


/***********************************************************************************************
 * Form ID:4be561f7-fc8e-42d0-917c-00a051050566 
 * Form Name:FOChangeDocUIForm
 * UIFactory Auto Generator
 ***********************************************************************************************/
namespace UFIDA.U9.Cust.OTD.ZF.SHXM3003.OTDUI.FOChangeDocUIModel
{
	[FormRegister("UFIDA.U9.Cust.OTD.ZF.SHXM3003.OTDUI","UFIDA.U9.Cust.OTD.ZF.SHXM3003.OTDUI.FOChangeDocUIModel.FOChangeDocUIFormWebPart", "UFIDA.U9.Cust.OTD.ZF.SHXM3003.OTDUI.WebPart", "4be561f7-fc8e-42d0-917c-00a051050566","WebPart", "True", 992, 504)] 
	///insert into aspnet_Parts (SysVersion, Path, ClassName, [Assembly], FormId) values (0, 'UFIDA.U9.Cust.OTD.ZF.SHXM3003.OTDUI', 'UFIDA.U9.Cust.OTD.ZF.SHXM3003.OTDUI.FOChangeDocUIModel.FOChangeDocUIFormWebPart', 'UFIDA.U9.Cust.OTD.ZF.SHXM3003.OTDUI.WebPart', '4be561f7-fc8e-42d0-917c-00a051050566')
	///<siteMapNode url="~/erp/simple.aspx?lnk=4be561f7-fc8e-42d0-917c-00a051050566" title="FOChangeDocUIForm"/>
    public partial class FOChangeDocUIFormWebPart : UFSoft.UBF.UI.FormProcess.BaseWebForm
    {
		#region Page Controller/Code Behind
        private static readonly ILogger logger = LoggerManager.GetLogger(typeof(FOChangeDocUIFormWebPart));
        private string assemblyName = System.Reflection.Assembly.GetExecutingAssembly().FullName;
        //private string displayNamePostfix = "displayName";

		#region 强类型化基类属性.
		public new FOChangeDocUIModelAction Action
		{
			get { return (FOChangeDocUIModelAction)base.Action; }
			set { base.Action = value; }
		}
		FOChangeDocUIModelModel _uimodel=null;
		public new FOChangeDocUIModelModel Model
		{
			get 
			{
			     if(_uimodel == null){
			          _uimodel = new FOChangeDocUIModelModel();
			     }
			     return _uimodel; 
			}
			set { _uimodel = value; }
		}
        protected override IUIModel UIModel{
            get{
                return this.Model;
            }
            set{
                this.Model = value as FOChangeDocUIModelModel;
            }
        }
		#endregion 
		public FormAdjust adjust;
        #region variable declaration
        IUFToolbar Toolbar2;
        IUFButton BtnSave;
        IUFButton BtnAdd;
        IUFButton BtnCancel;
        IUFButton BtnDelete;
        IUFButton BtnSubmit;
        IUFButton BtnApprove;
        IUFButton BtnFind;
        IUFButton BtnList;
        IUFButton BtnFirstPage;
        IUFButton BtnPrevPage;
        IUFButton BtnNextPage;
        IUFButton BtnLastPage;
        IUFButton BtnOutput;
        IUFButton BtnPrint;
        IUFCard Card0;
        IUFButton Btn_FOChange;
        IUFButton Btn_BankCall;
        IUFButton ButtonHD;
        IUFCard Card3;
        IUFCard Card4;
        IUFLabel lblID88;
        IUFFldNumberControl ID88;
        IUFLabel lblSysVersion104;
        IUFFldNumberControl SysVersion104;
        IUFLabel lblDocmentType182;
        IUFFldReference DocmentType182;
        IUFLabel lblFODocNo152;
        IUFFldTextBox FODocNo152;
        IUFLabel lblDocNo95;
        IUFFldTextBox DocNo95;
        IUFLabel lblBusinessDate62;
        IUFFldDatePicker BusinessDate62;
        IUFLabel lblStatus209;
        IUFFldDropDownList Status209;
        IUFLabel lblRemake197;
        IUFFldTextBox Remake197;
        IUFFldFlexFieldPicker FlexFieldPicker0;
        IUFTabControl TabControl6;
        IUFTabPage TabPage11;
        IUFDataGrid DataGrid13;
        IUFTabControl TabControl7;
        IUFTabPage TabPage13;
        IUFDataGrid DataGrid14;
		UpdatePanel updatePanel;
		HiddenField wpFindID;
		IUFContainer topLevelPanel;     
        IUFSeparator SeparatorInFavorites;
        IUFButton BtnDefaultValues;
        #endregion
        
        #region constructor
        public FOChangeDocUIFormWebPart()
        {
            FormID = "4be561f7-fc8e-42d0-917c-00a051050566";
            IsAutoSize = bool.Parse("True");
            NewIsAutoSize = bool.Parse("True");
        }
        #endregion


	
            
	//获取档案版型结果: 

        #region eventBind and databind
        private void EventBind()
        {
			//事件绑定模板
				//Button控件事件
			this.BtnSave.Click += new EventHandler(BtnSave_Click);		
						
				//Button控件事件
			this.BtnAdd.Click += new EventHandler(BtnAdd_Click);		
						
				//Button控件事件
			this.BtnCancel.Click += new EventHandler(BtnCancel_Click);		
						
				//Button控件事件
			this.BtnDelete.Click += new EventHandler(BtnDelete_Click);		
						
				//Button控件事件
			this.BtnSubmit.Click += new EventHandler(BtnSubmit_Click);		
						
				//Button控件事件
			this.BtnApprove.Click += new EventHandler(BtnApprove_Click);		
						
				//Button控件事件
			this.BtnFind.Click += new EventHandler(BtnFind_Click);		
						
				//Button控件事件
			this.BtnList.Click += new EventHandler(BtnList_Click);		
						
				//Button控件事件
			this.BtnFirstPage.Click += new EventHandler(BtnFirstPage_Click);		
						
				//Button控件事件
			this.BtnPrevPage.Click += new EventHandler(BtnPrevPage_Click);		
						
				//Button控件事件
			this.BtnNextPage.Click += new EventHandler(BtnNextPage_Click);		
						
				//Button控件事件
			this.BtnLastPage.Click += new EventHandler(BtnLastPage_Click);		
						
				//Button控件事件
			this.BtnOutput.Click += new EventHandler(BtnOutput_Click);		
						
				//Button控件事件
			this.BtnPrint.Click += new EventHandler(BtnPrint_Click);		
						
				//Button控件事件
			this.Btn_FOChange.Click += new EventHandler(Btn_FOChange_Click);		
						
				//Button控件事件
			this.Btn_BankCall.Click += new EventHandler(Btn_BankCall_Click);		
						
				//Button控件事件
			this.ButtonHD.Click += new EventHandler(ButtonHD_Click);		
						

		
			//Grid控件的分页事件				
			((UFWebDataGridAdapter)this.DataGrid13).GridMakePageEventHandler += new GridMakePageDelegate(UFGridDataGrid13_GridMakePageEventHandler);
             //Grid控件的客户化筛选，定位事件
            ((UFWebDataGridAdapter)this.DataGrid13).GridCustomFilterHandler += new GridCustomFilterDelegate(UFGridDataGrid13_GridCustomFilterHandler);
	
			//Grid控件的分页事件				
			((UFWebDataGridAdapter)this.DataGrid14).GridMakePageEventHandler += new GridMakePageDelegate(UFGridDataGrid14_GridMakePageEventHandler);
             //Grid控件的客户化筛选，定位事件
            ((UFWebDataGridAdapter)this.DataGrid14).GridCustomFilterHandler += new GridCustomFilterDelegate(UFGridDataGrid14_GridCustomFilterHandler);

            AfterEventBind();
        }
        #endregion            
        
		#region override method
		protected override void OnLoad(EventArgs e)
		{
			base.OnLoad2(e);
		}
		protected override void OnLoadDataDo(EventArgs e)
		{
		    adjust.ProcessAdjustBeforeOnLoad(this);
			if (UIEngineHelper.IsDataBind(PageStatus, this))
			{
				if(this.Model==null){				        
					this.Model = new FOChangeDocUIModelModel();
				}
				OnLoadConsumer(new InParameterModel[]{},new InParameterModel[]{});
				OnLoadData(this);
				this.IsDataBinding = true ; //加载完数据要绑定一次.目前加这.
			}
			else
			{
				//去除.已经移入到OnInit()中.
				//this.Model = (FOChangeDocUIModelModel)this.CurrentState[this.TaskId.ToString()];
			}
			adjust.ProcessAdjustAfterOnLoadData(this);
		            AfterOnLoad();
            
            adjust.ProcessAdjustAfterOnLoad(this);
		}
		protected override void OnPreRender(EventArgs e)
		{
			base.OnPreRender2(e);
		}
        protected override void OnPreRenderDo(EventArgs e)
        {
            adjust.ProcessAdjustBeforeOnPreRender(this);
			base.OnPreRender(e);
			this.CurrentState[this.TaskId.ToString()] = this.Model;
			RegisterClearWebPartPadding();
            UFIDA.U9.UI.PDHelper.FormAuthorityHelper.SetWebPartAuthorization(this);
            
			if (IsDataBinding) //2006-9-7 可由开发人员控制
			{
				BeforeUIModelBinding();
				//BtnFind对应隐藏域的数据传递。:True
				UFIDA.U9.UI.PDHelper.CommonReferenceHelper.BindingBtnFindParam(this);
								if(!Page.IsPostBack)
				{
					EnumTypeBinding.BindEnumControls(this);
				}
				UFIDA.U9.UI.Commands.CommandHelper.BindFlexData(this);
				adjust.ProcessAdjustBeforeDataBinding(this);
				if (this.IsOnlyDataBinding)
				{
					this.DataBinding();
				}
				adjust.ProcessAdjustAfterDataBinding(this);

				AfterUIModelBinding();
			}
			adjust.ProcessAdjustAfterOnPreRender(this);
        }
		protected override void OnInit(EventArgs e)
		{
			base.OnInit2(e);
		}
		protected override void OnInitDo(EventArgs e)
		{			 
			this.Page.InitComplete += new EventHandler(Page_InitComplete);
			WebPartBuilder.InitWebPart(this);
            this.Action = new FOChangeDocUIModelAction(this);
            adjust = new FormAdjust();
		    CreateFormChildControls();
		}
        void Page_InitComplete(object sender, EventArgs e)
        {

            adjust.ProcessInit(this);
        }
        #endregion

      
        
        #endregion

	
		/// <summary>
        /// WebPart View
        /// </summary>
        #region view Create Contorls
        private void CreateFormChildControls()
        {
            IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this,"FOChangeDocUIForm",true,992,504);
            CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 1, 3, 0, 10, 0, 0, 0, 0);
			InitViewBindingContainer(this, _panel,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_panel, 10,new GridColumnDef[]{new GridColumnDef(1500,bool.Parse("False"),"Title"),},new GridRowDef[]{new GridRowDef(31,bool.Parse("True")),new GridRowDef(421,bool.Parse("False")),new GridRowDef(25,bool.Parse("True")),});
            //???还有用么?
            topLevelPanel = _panel;    
            
            UIControlBuilder.BuildCommonControls(this,ref updatePanel,ref wpFindID);
            





	
			_BuilderControl_Toolbar2(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Toolbar2, "1");		


	
			_BuilderControl_Card0(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Card0, "3");		


	
			_BuilderControl_Card3(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Card3, "2");		



			
     
			
			
            EventBind();
            AfterCreateChildControls();
            
        }        







				        
        private void _BuilderControl_Toolbar2(IUFContainer container)
        {
            IUFToolbar _Toolbar = UIControlBuilder.BuilderToolBarControl(container,"Toolbar2",true, true, "1",1500, 31, 0, 0, 1, 1,"100");
            this.Toolbar2 = _Toolbar;
            
            ///foreach Toolbar下的所有控件，增加到此容器
                            this.BtnSave = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnSave", "True", "True", 35, 31,"1", "",true,false,"8288c5a3-3b19-48d3-b139-f7018d2782ee","8288c5a3-3b19-48d3-b139-f7018d2782ee","b50473d4-e50b-4800-878d-6f32c90c3d8a");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnSave);
            this.BtnSave.UIModel = this.Model.ElementID;
            this.BtnSave.Action = "SaveClick";
	                            this.BtnAdd = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnAdd", "True", "True", 35, 31,"3", "",true,false,"19478b02-d2a9-4d7e-b7af-00070c61ff2d","19478b02-d2a9-4d7e-b7af-00070c61ff2d","282abcf4-112f-4518-b923-6ecd1a7c738f");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnAdd);
            this.BtnAdd.UIModel = this.Model.ElementID;
            this.BtnAdd.Action = "NewClick";
	                            this.BtnCancel = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnCancel", "True", "True", 35, 31,"2", "",true,false,"f35cb480-9e8f-4689-aaac-3e9fc9a0c65e","f35cb480-9e8f-4689-aaac-3e9fc9a0c65e","adb6eb37-5b38-4d8d-a65f-bcbd9aa9f6cf");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnCancel);
            this.BtnCancel.UIModel = this.Model.ElementID;
            this.BtnCancel.Action = "CancelClick";
	                            this.BtnDelete = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnDelete", "True", "True", 35, 31,"4", "",true,false,"0467218f-229b-4954-b2d4-3c5976467f76","0467218f-229b-4954-b2d4-3c5976467f76","aa51fa08-f040-482a-8030-02412ffb75ef");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnDelete);
            this.BtnDelete.UIModel = this.Model.ElementID;
            this.BtnDelete.Action = "DeleteClick";
	                            this.BtnSubmit = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnSubmit", "True", "True", 35, 31,"8", "",true,false,"c42c0f21-2fd7-49b2-ac54-62f811747b18","c42c0f21-2fd7-49b2-ac54-62f811747b18","b9461089-36fa-4100-8270-92f3ed87bc31");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnSubmit);
            this.BtnSubmit.UIModel = this.Model.ElementID;
            this.BtnSubmit.Action = "SubmitClick";
	                            this.BtnApprove = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnApprove", "True", "True", 35, 31,"9", "",true,false,"eb678a04-c7e1-44f1-b175-8f90f9903862","eb678a04-c7e1-44f1-b175-8f90f9903862","370a44e6-fe2a-4e55-908f-d526fa40b422");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnApprove);
            this.BtnApprove.UIModel = this.Model.ElementID;
            this.BtnApprove.Action = "ApproveClick";
	                            this.BtnFind = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnFind", "True", "True", 35, 31,"12", "",true,false,"27621430-7bc7-4c0e-979e-f0108439d13e","27621430-7bc7-4c0e-979e-f0108439d13e","07b32c5e-98a1-4566-abe3-9fc0c2a6c4c5");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnFind);
            this.BtnFind.UIModel = this.Model.ElementID;
            this.BtnFind.Action = "FindClick";
	                            this.BtnList = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnList", "True", "True", 35, 31,"13", "L",true,false,"c639596b-5a8c-4fc1-88bb-a3d670cda992","c639596b-5a8c-4fc1-88bb-a3d670cda992","8adccfd5-a0ac-464d-8e9a-0191acd09f6a");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnList);
            this.BtnList.UIModel = this.Model.ElementID;
            this.BtnList.Action = "ListClick";
	                            this.BtnFirstPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnFirstPage", "True", "True", 35, 31,"15", "",true,false,"f229e163-fcd1-4f6a-a645-df86c0efd8ec","f229e163-fcd1-4f6a-a645-df86c0efd8ec","68737d05-f1c6-447c-a2b3-83581e14194d");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnFirstPage);
            this.BtnFirstPage.UIModel = this.Model.ElementID;
            this.BtnFirstPage.Action = "FirstPage";
	                            this.BtnPrevPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnPrevPage", "True", "True", 35, 31,"16", "",true,false,"5ed368d8-7616-4696-b671-3f1c895f3b43","5ed368d8-7616-4696-b671-3f1c895f3b43","81dadc5c-996b-4033-8b12-0c8b97660cc7");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnPrevPage);
            this.BtnPrevPage.UIModel = this.Model.ElementID;
            this.BtnPrevPage.Action = "PrevPage";
	                            this.BtnNextPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnNextPage", "True", "True", 35, 31,"17", "",true,false,"36afec41-957c-493a-97a4-eddb136af5b4","36afec41-957c-493a-97a4-eddb136af5b4","98b688dd-b4d5-40d1-aac5-4358f76904fc");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnNextPage);
            this.BtnNextPage.UIModel = this.Model.ElementID;
            this.BtnNextPage.Action = "NextPage";
	                            this.BtnLastPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnLastPage", "True", "True", 35, 31,"18", "",true,false,"dc4a37d1-35de-4016-81dd-582aef3cdeb0","dc4a37d1-35de-4016-81dd-582aef3cdeb0","8934b57f-ce73-4e7c-83d5-1e946beb874f");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnLastPage);
            this.BtnLastPage.UIModel = this.Model.ElementID;
            this.BtnLastPage.Action = "LastPage";
	                            this.BtnOutput = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnOutput", "True", "True", 35, 31,"23", "",true,false,"688fd549-5a92-49cc-8072-6d5377f6409a","688fd549-5a92-49cc-8072-6d5377f6409a","13648fcb-eddb-4164-8089-37a5a0825fd5");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnOutput);
            this.BtnOutput.UIModel = this.Model.ElementID;
            this.BtnOutput.Action = "OutputClick";
	                            this.BtnPrint = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnPrint", "True", "True", 35, 31,"24", "",true,false,"27b5c615-cde5-458c-be74-833317249568","27b5c615-cde5-458c-be74-833317249568","5f67f14d-c48b-43ec-928e-9539599cce79");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnPrint);
            this.BtnPrint.UIModel = this.Model.ElementID;
            this.BtnPrint.Action = "PrintClick";
	
            
            ((UFWebToolbarAdapter)_Toolbar).RemoveControls();
        }



	                   
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card0",false,"FunctionBar", true, true, "3","","be04b78a-5808-408f-95d1-a12a69bc7c52");
			CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 1500, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 22, 1, 0, 5, 10, 3, 10, 2);
			InitViewBindingContainer(this, _UFCard,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFCard, 5,new GridColumnDef[]{new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(71,bool.Parse("True"),"Value"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(10,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Spacing"),new GridColumnDef(1,bool.Parse("False"),"Spacing"),},new GridRowDef[]{new GridRowDef(20,bool.Parse("True")),});
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件，增加到此容器





				this.Btn_FOChange = UIControlBuilder.BuilderUFButton(_UFCard, true, "Btn_FOChange", true, true, 80, 20, 0, 0, 1, 1, "100","", this.Model.ElementID,"",false,"79fb034b-9b8d-4c63-aee6-7d8e796fb6e2","","79fb034b-9b8d-4c63-aee6-7d8e796fb6e2");
	

		
			UIControlBuilder.BuilderUFControl(this.Btn_FOChange, "0");		


				this.Btn_BankCall = UIControlBuilder.BuilderUFButton(_UFCard, true, "Btn_BankCall", true, true, 80, 20, 2, 0, 1, 1, "100","", this.Model.ElementID,"",false,"1d0321f8-8283-4b61-ab6b-3a7e5c1bff98","","1d0321f8-8283-4b61-ab6b-3a7e5c1bff98");
	

		
			UIControlBuilder.BuilderUFControl(this.Btn_BankCall, "1");		


				this.ButtonHD = UIControlBuilder.BuilderUFButton(_UFCard, true, "ButtonHD", true, false, 80, 20, 0, 0, 1, 1, "100","", this.Model.ElementID,"",false,"62660300-47fe-491c-a5b5-02bdf39db7ed","","62660300-47fe-491c-a5b5-02bdf39db7ed");
	

		
			UIControlBuilder.BuilderUFControl(this.ButtonHD, "2");		



			

            
            container.Controls.Add(_UFCard);
            return _UFCard;
        }

	                   
        private IUFCard _BuilderControl_Card3(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card3",false,"none", true, true, "2","","92fa6c62-0db6-43da-8307-28c31e7f1400");
			CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 1500, 421, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 1, 3, 0, 10, 10, 0, 10, 0);
			InitViewBindingContainer(this, _UFCard,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFCard, 10,new GridColumnDef[]{new GridColumnDef(1480,bool.Parse("False"),"Value"),},new GridRowDef[]{new GridRowDef(90,bool.Parse("True")),new GridRowDef(150,bool.Parse("False")),new GridRowDef(150,bool.Parse("False")),});
            this.Card3 = _UFCard;

            ///foreach UFCard下的所有控件，增加到此容器





	
			_BuilderControl_Card4(_UFCard);

		
			UIControlBuilder.BuilderUFControl(this.Card4, "1");		


	
			_BuilderControl_TabControl6(_UFCard);

		
			UIControlBuilder.BuilderUFControl(this.TabControl6, "2");		


	
			_BuilderControl_TabControl7(_UFCard);

		
			UIControlBuilder.BuilderUFControl(this.TabControl7, "3");		



			

            
            container.Controls.Add(_UFCard);
            return _UFCard;
        }

	                   
        private IUFCard _BuilderControl_Card4(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card4",true,"none", true, true, "1","3bd09abb-e834-4eb6-8bf5-937cf4b5847f","99028056-f099-4658-b2f1-b5c15e49bfe2");
			CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 1480, 90, 0, 0, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 26, 3, 0, 5, 0, 0, 0, 0);
			InitViewBindingContainer(this, _UFCard,  this.Model.FOChangeDoc, "FOChangeDoc", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFCard, 5,new GridColumnDef[]{new GridColumnDef(80,bool.Parse("True"),"Title"),new GridColumnDef(5,bool.Parse("True"),"Spacing"),new GridColumnDef(120,bool.Parse("True"),"Value"),new GridColumnDef(20,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Title"),new GridColumnDef(5,bool.Parse("True"),"Spacing"),new GridColumnDef(120,bool.Parse("True"),"Value"),new GridColumnDef(20,bool.Parse("True"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Title"),new GridColumnDef(5,bool.Parse("True"),"Spacing"),new GridColumnDef(120,bool.Parse("True"),"Value"),new GridColumnDef(20,bool.Parse("False"),"Spacing"),new GridColumnDef(80,bool.Parse("True"),"Value"),new GridColumnDef(5,bool.Parse("True"),"Value"),new GridColumnDef(120,bool.Parse("True"),"Value"),new GridColumnDef(20,bool.Parse("True"),"Value"),new GridColumnDef(80,bool.Parse("True"),"Value"),new GridColumnDef(5,bool.Parse("True"),"Value"),new GridColumnDef(120,bool.Parse("True"),"Value"),new GridColumnDef(20,bool.Parse("True"),"Value"),new GridColumnDef(80,bool.Parse("True"),"Value"),new GridColumnDef(5,bool.Parse("True"),"Value"),new GridColumnDef(120,bool.Parse("True"),"Value"),new GridColumnDef(100,bool.Parse("True"),"Value"),new GridColumnDef(20,bool.Parse("True"),"Value"),new GridColumnDef(130,bool.Parse("False"),"Spacing"),},new GridRowDef[]{new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),});
            this.Card4 = _UFCard;

            ///foreach UFCard下的所有控件，增加到此容器





				this.lblID88 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblID88", "", "False", "True", "Right", 153, 20, 0, 0, 1, 1, "100","3bd09abb-e834-4eb6-8bf5-937cf4b5847f","a294f2e1-54f4-4584-9010-ee78e2642bfe");


								

		
			UIControlBuilder.BuilderUFControl(this.lblID88, "1");		


				this.ID88 = UIControlBuilder.BuilderNumberControl(_UFCard, "ID88", "False", "False", "True", "Left", 7, 60, 0, 152, 20, 0, 0, 1, 1, NumbericType.Numberic, "100",79228162514264337593543950335m, -79228162514264337593543950335m
			,TextAlign.Right,0,true,false,true,"lblID88","8.0","3bd09abb-e834-4eb6-8bf5-937cf4b5847f","47ce0004-48f5-4212-aedc-57c2add21e5c",null,null,null, null);
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.ID88, "False", "ID", this.Model.FOChangeDoc, this.Model.FOChangeDoc.FieldID, "FOChangeDoc");
	
		
			UIControlBuilder.BuilderUFControl(this.ID88, "2");		
		 

				this.lblSysVersion104 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblSysVersion104", "", "False", "True", "Right", 153, 20, 0, 0, 1, 1, "100","b6e28c6d-eb34-4637-bbe8-781a7cb674ff","1f6b3bbd-df0b-4a78-bec7-45f990348cf5");


								

		
			UIControlBuilder.BuilderUFControl(this.lblSysVersion104, "3");		


				this.SysVersion104 = UIControlBuilder.BuilderNumberControl(_UFCard, "SysVersion104", "True", "False", "True", "Left", 7, 60, 0, 152, 20, 0, 0, 1, 1, NumbericType.Numberic, "100",79228162514264337593543950335m, -79228162514264337593543950335m
			,TextAlign.Right,0,true,false,true,"lblSysVersion104","8.0","b6e28c6d-eb34-4637-bbe8-781a7cb674ff","3fd32918-4b09-41c1-a5a1-b9a74fcbaed3",null,null,null, null);
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.SysVersion104, "False", "SysVersion", this.Model.FOChangeDoc, this.Model.FOChangeDoc.FieldSysVersion, "FOChangeDoc");
	
		
			UIControlBuilder.BuilderUFControl(this.SysVersion104, "4");		
		 

				this.lblDocmentType182 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblDocmentType182", "", "True", "True", "Right", 80, 20, 0, 0, 1, 1, "100","24f53377-928c-4831-a6fe-57fb6fbda461","24757feb-30c9-4fa8-a8bd-1d3ba8db3d07");

			UIControlBuilder.SetLabelFormReference(this.lblDocmentType182,"29f2c2da-7c0b-43c4-b7bb-7b905fc49a93",true,992, 504);
			//foreach input parameter
	    	ScriptBuilder.BuildFormLinkInScript(this.lblDocmentType182,"lblDocmentType182", new FormLinkInParam[]{new FormLinkInParam("@ID","","Key","DocmentType182",1), });
			//foreach output set data
	    	ScriptBuilder.BuildFormLinkOutScript(this.lblDocmentType182,"lblDocmentType182", new FormLinkOutParam[]{new FormLinkOutParam("ID","","Key","DocmentType182"),new FormLinkOutParam("Code","","Value","DocmentType182"),new FormLinkOutParam("Name","","Text","DocmentType182"), });
		
								

		
			UIControlBuilder.BuilderUFControl(this.lblDocmentType182, "5");		


				this.DocmentType182 = UIControlBuilder.BuilderRefrenceControl(_UFCard,"DocmentType182",true,true, true,120, 20, 2, 0, 1, 1, "100","8",false,false,true,"lblDocmentType182","24f53377-928c-4831-a6fe-57fb6fbda461","39855a24-0089-451c-9700-e8cce3c3ee4b");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.DocmentType182, "False", "DocmentType", this.Model.FOChangeDoc, this.Model.FOChangeDoc.FieldDocmentType, "FOChangeDoc");
			UIControlBuilder.SetReferenceControlRefInfo(this.DocmentType182,"d80b94b8-8313-44ab-9ac2-6f3636e7e43a", 580,408, "Name","Code","ID", this.Model.FOChangeDoc.FieldDocmentType_Code,this.Model.FOChangeDoc.FieldDocmentType_Name);
            //foreach Reference's input filter parameter
            //foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
			ScriptBuilder.BuildReferenceControlOuputScript(this.DocmentType182,"DocmentType182",new ReferenceOutputParam[]{new ReferenceOutputParam("DocmentType182","ID","Key"),new ReferenceOutputParam("DocmentType182","Code","Value"),new ReferenceOutputParam("DocmentType182","Name","Text"),});
				

		
			UIControlBuilder.BuilderUFControl(this.DocmentType182, "8");		
		 

				this.lblFODocNo152 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblFODocNo152", "", "True", "True", "Right", 80, 20, 4, 0, 1, 1, "100","21014b3d-a9dd-4c32-b337-2049fb87b5ef","162e74a1-fe60-4ea1-b999-4f3051c74615");


								

		
			UIControlBuilder.BuilderUFControl(this.lblFODocNo152, "11");		


				this.FODocNo152 = UIControlBuilder.BuilderTextBox(_UFCard, "FODocNo152", "True", "True", "True", "False", "Left", 0, 60, 0, 120, 20, 6, 0, 1, 1, "False", "100"
			,"",TextBoxMode.SingleLine,TextAlign.Left, true,false,"lblFODocNo152","","50","21014b3d-a9dd-4c32-b337-2049fb87b5ef","bebe81a7-6625-4199-9a5e-e88c12a105d5");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.FODocNo152, "False", "FODocNo", this.Model.FOChangeDoc, this.Model.FOChangeDoc.FieldFODocNo, "FOChangeDoc");


		
			UIControlBuilder.BuilderUFControl(this.FODocNo152, "12");		
		 

				this.lblDocNo95 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblDocNo95", "", "True", "True", "Right", 80, 20, 0, 1, 1, 1, "100","c65d52af-21e0-462f-87cc-fb75b5e88eb1","11e5b8ec-407f-4363-ab63-167d7e2ce5d4");


								

		
			UIControlBuilder.BuilderUFControl(this.lblDocNo95, "6");		


				this.DocNo95 = UIControlBuilder.BuilderTextBox(_UFCard, "DocNo95", "True", "True", "False", "False", "Left", 0, 60, 0, 120, 20, 2, 1, 1, 1, "False", "100"
			,"",TextBoxMode.SingleLine,TextAlign.Left, true,false,"lblDocNo95","","50","c65d52af-21e0-462f-87cc-fb75b5e88eb1","39fc0bcc-0810-422d-95e5-0c77e4d209ec");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.DocNo95, "False", "DocNo", this.Model.FOChangeDoc, this.Model.FOChangeDoc.FieldDocNo, "FOChangeDoc");


		
			UIControlBuilder.BuilderUFControl(this.DocNo95, "9");		
		 

				this.lblBusinessDate62 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblBusinessDate62", "", "True", "True", "Right", 80, 20, 0, 2, 1, 1, "100","1276c7e0-6bf3-4a72-aea4-3d55d4892559","0d56033a-2514-4fbc-b831-25305a89f7f9");


								

		
			UIControlBuilder.BuilderUFControl(this.lblBusinessDate62, "7");		


				this.BusinessDate62 = UIControlBuilder.BuilderDatePicker(_UFCard, "BusinessDate62", false, true, true, "Date","Left", 3, 60, 0, 120, 20, 2, 2, 1, 1, "100",true,false,"lblBusinessDate62","1276c7e0-6bf3-4a72-aea4-3d55d4892559","0eff614d-e8a7-491f-86ba-f97246e8aab7");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.BusinessDate62, "False", "BusinessDate", this.Model.FOChangeDoc, this.Model.FOChangeDoc.FieldBusinessDate, "FOChangeDoc");


		
			UIControlBuilder.BuilderUFControl(this.BusinessDate62, "10");		
		 

				this.lblStatus209 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblStatus209", "", "True", "True", "Right", 80, 20, 8, 0, 1, 1, "100","be9a53d4-6a0f-4899-9be9-b9e4edd61cdb","00b9e1ff-e287-485a-b940-af15227d55d7");


								

		
			UIControlBuilder.BuilderUFControl(this.lblStatus209, "13");		


		        this.Status209 = UIControlBuilder.BuilderDropDownList(_UFCard, "Status209", "UFIDA.U9.Cust.OTD.ZF.SHXM3003.OTDBE.FOChangeBE.FOChangeDocStatusEnum", true,  true, false, "Left", 2, 60, 0, 120, 20, 10, 0, 1, 1, "100",true,false,"lblStatus209","be9a53d4-6a0f-4899-9be9-b9e4edd61cdb","5bb0dc9c-1d39-4403-830d-7bf0beea1a6c");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Status209, "False", "Status", this.Model.FOChangeDoc, this.Model.FOChangeDoc.FieldStatus, "FOChangeDoc");
			EnumTypeList.Add("UFIDA.U9.Cust.OTD.ZF.SHXM3003.OTDBE.FOChangeBE.FOChangeDocStatusEnum");
			EnumControlsMap.Add(this.Status209, _UFCard);
		

		
			UIControlBuilder.BuilderUFControl(this.Status209, "14");		
		 

				this.lblRemake197 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblRemake197", "", "True", "True", "Right", 80, 20, 12, 0, 1, 1, "100","ac8419f7-47e4-4350-be57-a0b198942c83","565b08b8-ef2c-4542-a335-47498cb0b3bf");


								

		
			UIControlBuilder.BuilderUFControl(this.lblRemake197, "15");		


				this.Remake197 = UIControlBuilder.BuilderTextBox(_UFCard, "Remake197", "True", "True", "True", "True", "Left", 0, 60, 0, 120, 45, 14, 0, 1, 2, "False", "100"
			,"",TextBoxMode.MultiLine,TextAlign.Left, true,false,"lblRemake197","","50","ac8419f7-47e4-4350-be57-a0b198942c83","b42d3449-4d3a-4e8e-b645-e852ee0674e8");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Remake197, "False", "Remake", this.Model.FOChangeDoc, this.Model.FOChangeDoc.FieldRemake, "FOChangeDoc");


		
			UIControlBuilder.BuilderUFControl(this.Remake197, "16");		
		 

				this.FlexFieldPicker0 = UIControlBuilder.BuilderFlexFieldPicker(_UFCard, "FlexFieldPicker0", "True", "True", "True", "Left", 0, "", '.', 60, 0, 120, 20, 14, 2, 1, 1, "100"
				,FlexFieldType.Key,true,false,"","","","9b3c7742-13fb-4872-a8c4-ff02ea90d909");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.FlexFieldPicker0, "False", "", null, null, "");
			if(this.FlexFieldPicker0.FlexFieldType==FlexFieldType.Key)
			{

			}
			else
			{		
					}
								

		
			UIControlBuilder.BuilderUFControl(this.FlexFieldPicker0, "17");		
		 


						
			this.DocmentType182.IsMultiOrg  = false ;
			this.lblDocmentType182.SetMultiOrgInfo(this.DocmentType182,false);
			
											

            
            container.Controls.Add(_UFCard);
            return _UFCard;
        }

				

	         private void _BuilderControl_TabControl6(IUFContainer container)
        {
            IUFTabControl _UFTabControl = UIControlBuilder.BuildTabControl(container,"TabControl6",true, true, "2",EventResponseType.Client,1480, 150, 0, 2, 1, 1, "100");
            ///foreach UFTabbedPane下的所有控件，增加到此容器
            _UFTabControl.TabPages.Add(_BuilderControl_TabPage11(_UFTabControl));
            this.TabControl6 = _UFTabControl;
        }

	        private IUFTabPage _BuilderControl_TabPage11(IUFTabControl container)
        {
            IUFTabPage _UFTabPage = UIControlBuilder.BuildTabPageControl(container,"TabPage11",true, true, "0","5ce8ce60-e82a-46fc-afc6-099dbeebc0c1","5ce8ce60-e82a-46fc-afc6-099dbeebc0c1");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFTabPage, 2, 2, 0, 5, 5, 5, 5, 5);
			InitViewBindingContainer(this, _UFTabPage,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFTabPage, 5,new GridColumnDef[]{new GridColumnDef(1462,bool.Parse("False"),"Title"),new GridColumnDef(1,bool.Parse("True"),"Spacing"),},new GridRowDef[]{new GridRowDef(119,bool.Parse("False")),new GridRowDef(1,bool.Parse("True")),});
            ///foreach UFTab下的所有控件，增加到此容器





	
			_BuilderControl_DataGrid13(_UFTabPage);

		
			UIControlBuilder.BuilderUFControl(this.DataGrid13, "0");		



	

            this.TabPage11 = _UFTabPage;
            return _UFTabPage;
        }

				





       
        private void _BuilderControl_DataGrid13(IUFContainer container)
        {
            IUFDataGrid _UFGrid = UIControlBuilder.BuildGridControl("DataGrid13", UFSoft.UBF.UI.ControlModel.EditStatus.Edit, true, false,true,false,false,true,20,false, false) ;
  			UIControlBuilder.BuilderUFControl(_UFGrid, "True", "True", "0");
			CommonBuilder.GridLayoutPropBuilder(container, _UFGrid, 1463, 125, 0, 0, 2, 2, "100");
			InitViewBindingContainer(this, _UFGrid,  this.Model.FOChangeDoc_AfterFOChangeDocLine, "FOChangeDoc_AfterFOChangeDocLine", "", null, 20, "预测订单变更单.Misc.变更后预测变更行明细");
			((UFSoft.UBF.UI.WebControlAdapter.UFWebDataGridAdapter)_UFGrid).PagingStrategy=UFSoft.UBF.UI.ControlModel.GridPagingStrategy.Auto;
			_UFGrid.AllowSelectAllPage=false;
			((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumAllData=false;
		        ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumSelectedData=false;
            this.DataGrid13 = _UFGrid;
            container.Controls.Add(_UFGrid);



			IUFDataGridColumn column ;
			GridColumn gridColumn ;
	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ID89","NumberColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["ID"]/*ID*/,"ID", true, false, true, false, false, false, 7, 100, "19.0",true, false,"","84569df2-76c4-4eb3-af48-45dafe7f0ba4","84569df2-76c4-4eb3-af48-45dafe7f0ba4","3977b0f4-58be-40cd-bb6a-97765454a56a");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SysVersion106","NumberColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["SysVersion"]/*SysVersion*/,"SysVersion", false, false, true, false, false, true, 7, 100, "19.0",true, false,"0","1603ce2b-7334-479b-9413-635ae0e72525","1603ce2b-7334-479b-9413-635ae0e72525","1864c357-6837-4c83-8034-adb4712fea66");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"DocLineNo0","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["DocLineNo"]/*DocLineNo*/,"DocLineNo", false, true, false, false, false, true, 0, 60, "50",true, false,"","b8a80385-1de7-4400-a513-57c9f3a91a32","b8a80385-1de7-4400-a513-57c9f3a91a32","03309d47-a2da-40cd-a8ef-e431031cde88");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"FODocLineNo0","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["FODocLineNo"]/*FODocLineNo*/,"FODocLineNo", false, true, false, false, false, true, 0, 60, "50",true, false,"","ac882f46-7dfa-4116-8a6c-6255fd65f789","ac882f46-7dfa-4116-8a6c-6255fd65f789","a64942ce-02b3-4fd3-a943-cb003894601b");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Num0","NumberColumnModel", "", 8,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["Num"]/*Num*/,"Num", false, true, true, false, false, true, 8, 60, "24.9",true, false,"0","e3641b6e-7c57-4dd9-9bf9-6a0d57b24e6a","e3641b6e-7c57-4dd9-9bf9-6a0d57b24e6a","c8ceff1e-015f-46b8-89a8-1f0589cf9d5f");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ShipPlanDate0","DatePickerColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["ShipPlanDate"]/*ShipPlanDate*/,"ShipPlanDate", false, true, true, false, false, true, 3, 80, "10",true, false,"","3a6a3555-adfb-44db-a6d9-b7f5f5937896","3a6a3555-adfb-44db-a6d9-b7f5f5937896","26562d14-1d45-475b-98de-5d343bf88589");
                   
			((IUFDatePickerColumn)column).DateTimeType = DateTimeType.Date;
            ((IUFDatePickerColumn)column).DateTimeFormat = CurrentState._I18N._DateTimeFormatInfo;
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ReplyDueDate0","DatePickerColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["ReplyDueDate"]/*ReplyDueDate*/,"ReplyDueDate", false, true, true, false, false, true, 3, 80, "10",true, false,"","670550d4-db9c-41ee-a2cf-0f08e89c3ff9","670550d4-db9c-41ee-a2cf-0f08e89c3ff9","fd4f6a18-a3f9-4b62-869e-cf9da9b720ef");
                   
			((IUFDatePickerColumn)column).DateTimeType = DateTimeType.Date;
            ((IUFDatePickerColumn)column).DateTimeFormat = CurrentState._I18N._DateTimeFormatInfo;
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"DemandType1","DropDownListColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["DemandType"]/*DemandType*/,"DemandType", false, true, false, false, false, true, 2, 100, "10.0",true, false,"0","2935d718-5ed0-471b-bf51-d172c04f7f16","2935d718-5ed0-471b-bf51-d172c04f7f16","168ce013-822e-458e-bde6-ee9f63416186");
			((IUFDropDownListColumn)column).EnumTypeID  = "UFIDA.U9.CBO.Enums.DemandCodeEnum";
			EnumTypeList.Add("UFIDA.U9.CBO.Enums.DemandCodeEnum");
			EnumControlsMap.Add(column, _UFGrid);
			  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"IsFinishedPO0","CheckBoxColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["IsFinishedPO"]/*IsFinishedPO*/,"IsFinishedPO", false, false, true, false, false, true, 22, 100, "1",true, false,"false","e9727209-4600-4e85-9f25-1089b2df988e","e9727209-4600-4e85-9f25-1089b2df988e","fc3783a1-6d59-47f6-89b4-6d99d5c3b3cb");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"OldDocLine0","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["OldDocLine"]/*OldDocLine*/,"OldDocLine", false, true, false, false, false, true, 0, 80, "50",true, false,"","f9fb44c6-cf85-45ce-beb8-080ef5d4d18d","f9fb44c6-cf85-45ce-beb8-080ef5d4d18d","3b7526b8-8921-4b5e-b5d8-297b75532ff1");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ItemMaster1","ReferenceColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["ItemMaster"]/*ItemMaster*/,"ItemMaster", false, true, false, false, false, true, 7, 80, "19.0",true, false,"","eb8ea0f5-75f2-492b-b7e8-d6263937ad44","eb8ea0f5-75f2-492b-b7e8-d6263937ad44","e3476d88-4d8f-4e22-b9fa-75b26f0431c8");
			GridControlBuilder.GridReferenceColumnBuilder((IUFFldReferenceColumn)column, ColumnTextAlign.Right, "ID", "Code", "Name", this.Model.FOChangeDoc_AfterFOChangeDocLine.FieldItemMaster_Code/*ItemMaster_Code*/, this.Model.FOChangeDoc_AfterFOChangeDocLine.FieldItemMaster_Name/*ItemMaster_Name*/, "beedebc3-5398-46b5-a237-5a3a4d13ad4f"
			,false,true,580,408);
            ((IUFFldReferenceColumn)column).CtrlId = "e3476d88-4d8f-4e22-b9fa-75b26f0431c8";
 			((IUFFldReferenceColumn)column).IsMultiOrg  = false ;
           //foreach Reference's input filter parameter

            //foreach Reference's output set data
							
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Code", "ItemMaster_Code", "Value"));
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Name", "ItemMaster_Name", "Value"));
							
							
							
							
							
							
							
							
							
							
							
							
							
            ((IUFFldReferenceColumn)column).ApplyRefRelations();
			  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ItemMaster_Code65","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["ItemMaster_Code"]/*ItemMaster_Code*/,"ItemMaster_Code", false, true, false, false, false, true, 0, 100, "255",true, false,"","90893f07-064b-4c65-80c4-df7dbbc4f35b","90893f07-064b-4c65-80c4-df7dbbc4f35b","50934564-9600-4221-9339-08d4c231c420");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","255") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ItemMasterModel1","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["ItemMasterModel"]/*ItemMasterModel*/,"ItemMasterModel", false, true, false, false, false, true, 0, 80, "50",true, false,"","66669d20-fab6-499a-b172-22f8b1eb89bc","66669d20-fab6-499a-b172-22f8b1eb89bc","5c7344af-edd1-4388-a31f-fcc86e2ade57");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SPECS1","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["SPECS"]/*SPECS*/,"SPECS", false, true, false, false, false, true, 0, 80, "50",true, false,"","9eb5ff7f-dcaa-4d72-8d48-9cc15c823955","9eb5ff7f-dcaa-4d72-8d48-9cc15c823955","ae1a9283-d9b5-41ae-a209-a4715cabbebf");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SumPO1","NumberColumnModel", "", 8,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["SumPO"]/*SumPO*/,"SumPO", false, true, false, false, false, true, 8, 80, "24.9",true, false,"0","6fd31129-8d91-4eb5-b5dd-8705c71c5061","6fd31129-8d91-4eb5-b5dd-8705c71c5061","c31b74ba-af00-4fc7-bb36-3f8e727cf51c");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SumBO1","NumberColumnModel", "", 8,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["SumBO"]/*SumBO*/,"SumBO", false, true, false, false, false, true, 8, 80, "24.9",true, false,"0","978a3e77-fa1b-4e2a-a1d5-b22c47756045","978a3e77-fa1b-4e2a-a1d5-b22c47756045","33c89d13-fe34-44ef-85d7-07b76268f16c");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Project1","ReferenceColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["Project"]/*Project*/,"Project", false, true, false, false, false, true, 7, 100, "19.0",true, false,"","020cf19a-4f90-4a8c-be92-7f8e5c183c65","020cf19a-4f90-4a8c-be92-7f8e5c183c65","3925d072-dffe-4cbb-8bd6-751a41d247f1");
			GridControlBuilder.GridReferenceColumnBuilder((IUFFldReferenceColumn)column, ColumnTextAlign.Right, "ID", "Code", "Name", this.Model.FOChangeDoc_AfterFOChangeDocLine.FieldProject_Code/*Project_Code*/, this.Model.FOChangeDoc_AfterFOChangeDocLine.FieldProject_Name/*Project_Name*/, "6d9ff12b-86a7-4d8b-b6f8-eaca0d5d83b7"
			,false,true,580,408);
            ((IUFFldReferenceColumn)column).CtrlId = "3925d072-dffe-4cbb-8bd6-751a41d247f1";
 			((IUFFldReferenceColumn)column).IsMultiOrg  = false ;
           //foreach Reference's input filter parameter
							



						
            //foreach Reference's output set data
							
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Code", "Project_Code", "Value"));
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Name", "Project_Name", "Value"));
							
							
            ((IUFFldReferenceColumn)column).ApplyRefRelations();
			  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Project_Code1","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["Project_Code"]/*Project_Code*/,"Project_Code", false, true, false, false, false, true, 0, 100, "255",true, false,"","9b234ad2-a3dd-438f-8ee3-38960790905a","9b234ad2-a3dd-438f-8ee3-38960790905a","950d2051-cf57-4d56-92ab-14bccde7d7bf");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","255") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Project_Name1","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_AfterFOChangeDocLine.Fields["Project_Name"]/*Project_Name*/,"Project_Name", false, true, false, false, false, true, 0, 100, "255",true, true,"","ea0d09e2-f332-450f-9217-89404fba440c","ea0d09e2-f332-450f-9217-89404fba440c","9067895d-d0b3-4516-932e-5815c2d11426");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","255") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"TextBoxColumn3","TextBoxColumnModel", "", 0,null,"", false, true, true, false, false, true, 0, 80, "",true, false,"","","","a12b498a-1560-4b22-bb74-d58d3d1354c1");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","") ;          
	  
		 
        }

	         private void _BuilderControl_TabControl7(IUFContainer container)
        {
            IUFTabControl _UFTabControl = UIControlBuilder.BuildTabControl(container,"TabControl7",true, true, "3",EventResponseType.Client,1480, 150, 0, 1, 1, 1, "100");
            ///foreach UFTabbedPane下的所有控件，增加到此容器
            _UFTabControl.TabPages.Add(_BuilderControl_TabPage13(_UFTabControl));
            this.TabControl7 = _UFTabControl;
        }

	        private IUFTabPage _BuilderControl_TabPage13(IUFTabControl container)
        {
            IUFTabPage _UFTabPage = UIControlBuilder.BuildTabPageControl(container,"TabPage13",true, true, "0","cd8e2037-36eb-4539-9cfb-79b0b1e8ec5d","cd8e2037-36eb-4539-9cfb-79b0b1e8ec5d");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFTabPage, 2, 2, 0, 5, 5, 5, 5, 5);
			InitViewBindingContainer(this, _UFTabPage,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFTabPage, 5,new GridColumnDef[]{new GridColumnDef(1462,bool.Parse("False"),"Title"),new GridColumnDef(1,bool.Parse("True"),"Spacing"),},new GridRowDef[]{new GridRowDef(105,bool.Parse("False")),new GridRowDef(1,bool.Parse("True")),});
            ///foreach UFTab下的所有控件，增加到此容器





	
			_BuilderControl_DataGrid14(_UFTabPage);

		
			UIControlBuilder.BuilderUFControl(this.DataGrid14, "0");		



	

            this.TabPage13 = _UFTabPage;
            return _UFTabPage;
        }

				





       
        private void _BuilderControl_DataGrid14(IUFContainer container)
        {
            IUFDataGrid _UFGrid = UIControlBuilder.BuildGridControl("DataGrid14", UFSoft.UBF.UI.ControlModel.EditStatus.Edit, false, false,false,false,false,true,20,false, false) ;
  			UIControlBuilder.BuilderUFControl(_UFGrid, "True", "True", "0");
			CommonBuilder.GridLayoutPropBuilder(container, _UFGrid, 1462, 111, 0, 0, 1, 2, "100");
			InitViewBindingContainer(this, _UFGrid,  this.Model.FOChangeDoc_BeforeFOChangeDocLine, "FOChangeDoc_BeforeFOChangeDocLine", "", null, 20, "预测订单变更单.Misc.变更前预测变更行明细");
			((UFSoft.UBF.UI.WebControlAdapter.UFWebDataGridAdapter)_UFGrid).PagingStrategy=UFSoft.UBF.UI.ControlModel.GridPagingStrategy.Auto;
			_UFGrid.AllowSelectAllPage=false;
			((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumAllData=false;
		        ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumSelectedData=false;
            this.DataGrid14 = _UFGrid;
            container.Controls.Add(_UFGrid);



			IUFDataGridColumn column ;
			GridColumn gridColumn ;
	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ID91","NumberColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["ID"]/*ID*/,"ID", true, false, true, false, false, false, 7, 80, "19.0",true, false,"","65fc882b-4260-459a-8913-c08409ab5130","65fc882b-4260-459a-8913-c08409ab5130","0072d159-ea33-4447-8351-6f4a60df5471");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SysVersion107","NumberColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["SysVersion"]/*SysVersion*/,"SysVersion", false, false, true, false, false, true, 7, 80, "19.0",true, false,"0","1cd8cbc1-037f-4509-91a5-e05095e966b4","1cd8cbc1-037f-4509-91a5-e05095e966b4","dd823b19-5dbe-4642-a5f1-fc25cded7be5");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"DocLineNo1","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["DocLineNo"]/*DocLineNo*/,"DocLineNo", false, true, false, false, false, true, 0, 60, "50",true, false,"","91f9372d-1eb2-4163-95a2-daafc9c1d5a0","91f9372d-1eb2-4163-95a2-daafc9c1d5a0","501edd5b-4f1d-4600-83e1-040d6ad8c903");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"FODocLineNo1","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["FODocLineNo"]/*FODocLineNo*/,"FODocLineNo", false, true, false, false, false, true, 0, 60, "50",true, false,"","228bd20f-9aeb-4130-86aa-934e0d251dcf","228bd20f-9aeb-4130-86aa-934e0d251dcf","b8f7dee5-7b09-4027-afa1-3086ffaa7170");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Num1","NumberColumnModel", "", 8,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["Num"]/*Num*/,"Num", false, true, false, false, false, true, 8, 60, "24.9",true, false,"0","3e5d4e79-ed0b-4ad0-ad8d-c160604f1583","3e5d4e79-ed0b-4ad0-ad8d-c160604f1583","3396dae4-c587-490e-a0e0-6c3bbfbd9837");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ShipPlanDate1","DatePickerColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["ShipPlanDate"]/*ShipPlanDate*/,"ShipPlanDate", false, true, false, false, false, true, 3, 80, "10",true, false,"","3fd8ca3d-1a88-44df-b3a1-904fbd5cbbf9","3fd8ca3d-1a88-44df-b3a1-904fbd5cbbf9","a254c018-b53f-4594-b5f7-a01dafafd385");
                   
			((IUFDatePickerColumn)column).DateTimeType = DateTimeType.Date;
            ((IUFDatePickerColumn)column).DateTimeFormat = CurrentState._I18N._DateTimeFormatInfo;
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ReplyDueDate1","DatePickerColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["ReplyDueDate"]/*ReplyDueDate*/,"ReplyDueDate", false, true, false, false, false, true, 3, 80, "10",true, false,"","75af9908-c89d-4802-8884-d1b559091eae","75af9908-c89d-4802-8884-d1b559091eae","93d471e0-c6af-495e-84ad-5c40c929aec9");
                   
			((IUFDatePickerColumn)column).DateTimeType = DateTimeType.Date;
            ((IUFDatePickerColumn)column).DateTimeFormat = CurrentState._I18N._DateTimeFormatInfo;
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"DemandType0","DropDownListColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["DemandType"]/*DemandType*/,"DemandType", false, true, false, false, false, true, 2, 100, "10.0",true, false,"0","68905c30-5078-40fb-a9df-453b3c754811","68905c30-5078-40fb-a9df-453b3c754811","cd071b02-3092-4d2b-8363-540103bf30cb");
			((IUFDropDownListColumn)column).EnumTypeID  = "UFIDA.U9.CBO.Enums.DemandCodeEnum";
			EnumTypeList.Add("UFIDA.U9.CBO.Enums.DemandCodeEnum");
			EnumControlsMap.Add(column, _UFGrid);
			  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"IsFinishedPO1","CheckBoxColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["IsFinishedPO"]/*IsFinishedPO*/,"IsFinishedPO", false, false, false, false, false, true, 22, 100, "1",true, false,"false","a5391651-6339-4f92-aa3a-d7387b016891","a5391651-6339-4f92-aa3a-d7387b016891","86fd04a9-ab4f-49b1-b32c-2b9c170a9b77");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ItemMaster0","ReferenceColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["ItemMaster"]/*ItemMaster*/,"ItemMaster", false, true, false, false, false, true, 7, 80, "19.0",true, false,"","f7471908-afd3-4ed9-af09-d762d0489f48","f7471908-afd3-4ed9-af09-d762d0489f48","71d2fa15-80b1-4de1-960a-212e9630f4bd");
			GridControlBuilder.GridReferenceColumnBuilder((IUFFldReferenceColumn)column, ColumnTextAlign.Right, "ID", "Code", "Name", this.Model.FOChangeDoc_BeforeFOChangeDocLine.FieldItemMaster_Code/*ItemMaster_Code*/, this.Model.FOChangeDoc_BeforeFOChangeDocLine.FieldItemMaster_Name/*ItemMaster_Name*/, "beedebc3-5398-46b5-a237-5a3a4d13ad4f"
			,false,true,580,408);
            ((IUFFldReferenceColumn)column).CtrlId = "71d2fa15-80b1-4de1-960a-212e9630f4bd";
 			((IUFFldReferenceColumn)column).IsMultiOrg  = false ;
           //foreach Reference's input filter parameter

            //foreach Reference's output set data
							
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Code", "ItemMaster_Code", "Value"));
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Name", "ItemMaster_Name", "Value"));
							
							
							
							
							
							
							
							
							
							
							
							
							
            ((IUFFldReferenceColumn)column).ApplyRefRelations();
			  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ItemMaster_Code66","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["ItemMaster_Code"]/*ItemMaster_Code*/,"ItemMaster_Code", false, true, false, false, false, true, 0, 100, "255",true, false,"","f875d5e6-06af-49ec-bf59-9eae05e82670","f875d5e6-06af-49ec-bf59-9eae05e82670","e826d50f-33e9-484c-9cd9-205f8d7fc1c0");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","255") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ItemMasterModel0","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["ItemMasterModel"]/*ItemMasterModel*/,"ItemMasterModel", false, true, false, false, false, true, 0, 80, "50",true, false,"","70366cf9-37fa-48b4-92f1-76f9695520ca","70366cf9-37fa-48b4-92f1-76f9695520ca","092b588f-d450-45f4-be72-859110619663");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SPECS0","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["SPECS"]/*SPECS*/,"SPECS", false, true, false, false, false, true, 0, 80, "50",true, false,"","7058d414-222a-482c-ba0d-1369f4d60e39","7058d414-222a-482c-ba0d-1369f4d60e39","437930e7-437e-4344-bf1d-9ad443a2174a");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","50") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SumPO0","NumberColumnModel", "", 8,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["SumPO"]/*SumPO*/,"SumPO", false, true, false, false, false, true, 8, 80, "24.9",true, false,"0","dfd396ae-2ff2-4d94-8542-d76e1cad9518","dfd396ae-2ff2-4d94-8542-d76e1cad9518","aee2bc1b-17bd-4840-8e96-189505ca0d03");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SumBO0","NumberColumnModel", "", 8,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["SumBO"]/*SumBO*/,"SumBO", false, true, false, false, false, true, 8, 80, "24.9",true, false,"0","cc29e393-fa80-4eae-b09c-f6a724ffe3af","cc29e393-fa80-4eae-b09c-f6a724ffe3af","b8c5fcd3-214c-416d-89b8-8f3a28e70cc2");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Project0","ReferenceColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["Project"]/*Project*/,"Project", false, true, false, false, false, true, 7, 100, "19.0",true, false,"","8f7dac33-708f-42c7-a856-256825d08329","8f7dac33-708f-42c7-a856-256825d08329","e072052a-0b7a-4eb5-9786-1a2581993cac");
			GridControlBuilder.GridReferenceColumnBuilder((IUFFldReferenceColumn)column, ColumnTextAlign.Right, "ID", "Code", "Name", this.Model.FOChangeDoc_BeforeFOChangeDocLine.FieldProject_Code/*Project_Code*/, this.Model.FOChangeDoc_BeforeFOChangeDocLine.FieldProject_Name/*Project_Name*/, "6d9ff12b-86a7-4d8b-b6f8-eaca0d5d83b7"
			,false,true,580,408);
            ((IUFFldReferenceColumn)column).CtrlId = "e072052a-0b7a-4eb5-9786-1a2581993cac";
 			((IUFFldReferenceColumn)column).IsMultiOrg  = false ;
           //foreach Reference's input filter parameter
							



						
            //foreach Reference's output set data
							
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Code", "Project_Code", "Value"));
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Name", "Project_Name", "Value"));
							
							
            ((IUFFldReferenceColumn)column).ApplyRefRelations();
			  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Project_Code0","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["Project_Code"]/*Project_Code*/,"Project_Code", false, true, false, false, false, true, 0, 100, "255",true, false,"","cf4cadf6-663c-4076-a221-670eb8213e89","cf4cadf6-663c-4076-a221-670eb8213e89","e80fbd48-9269-407f-85f4-3a897e0fb67a");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","255") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Project_Name0","TextBoxColumnModel", "", 0,this.Model.FOChangeDoc_BeforeFOChangeDocLine.Fields["Project_Name"]/*Project_Name*/,"Project_Name", false, true, false, false, false, true, 0, 100, "255",true, true,"","296c5505-90b3-4d2b-a205-6ace40cad3c0","296c5505-90b3-4d2b-a205-6ace40cad3c0","72cb2b4a-476c-410a-a08c-345a658d0c9b");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","255") ;          
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"TextBoxColumn2","TextBoxColumnModel", "", 0,null,"", false, true, true, false, false, true, 0, 80, "",true, false,"","","","328b534a-4130-4b7e-b2eb-66b800e66772");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","") ;          
	  
		 
        }





		#endregion
		

	}
}
